package com.ly.activiti.listener;

import org.activiti.engine.delegate.DelegateTask;
import org.activiti.engine.delegate.TaskListener;

/**
 * @Author LY
 * @create 2023/11/22 19:34
 * @Description 任务监听
 */
public class MyMangerTaskListener implements TaskListener {

    @Override
    public void notify(DelegateTask delegateTask) {
        System.out.println("**********人事************");
        System.out.println("delegateTask.getId() = "+delegateTask.getId());
        System.out.println("delegateTask.getName() = "+delegateTask.getEventName());
    }
}
